<?php

!defined('SYSTEM_INCLUDED') && exit('Access Denied');


Class Config{

    private static $_config=array();

	public static function import($configArray){
        self::$_config = array_merge(self::$_config,array_change_key_case($configArray,CASE_LOWER));
		return null;
	}
	
	public static function get($configName){
		$configName = strtolower($configName);
		if(isset(self::$_config[$configName])){
			return self::$_config[$configName];
		}else{
			return null;
		}
	}
	
	public static function change($configName,$configVar){
		$configName = strtolower($configName);
        self::$_config[$configName] = $configVar;
		return $configVar;
	}


}